package com.sc.auction.order.feign;

import com.sc.auction.common.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Service
@FeignClient("auction-user")
public interface UserFeignService {
    @GetMapping(value = "/user/user/getUserById")
    public R getUserById(@RequestParam("id") Integer id);
}
